﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Twi.Models.Flow
{
    /// <summary>
    /// 流程节点
    /// </summary>
    [Serializable]
    public partial class TFLOWNODE
    {
        public TFLOWNODE()
        { }
        #region Model
        private string _fid;
        private string _fflowid;
        private string _fname;
        private string _fpreviousnodeid;
        private string _fposition;
        private string _fremark;
        private string _finsertdatetime = DateTime.Now.ToString("yyyy-MM-dd HH:mi:ss");
        private int _fallowedit = 0;
        private int _fallowdelete = 0;
        private int _fisrightnode = 0;
        /// <summary>
        /// 
        /// </summary>
        public string FID
        {
            set { _fid = value; }
            get { return _fid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FFLOWID
        {
            set { _fflowid = value; }
            get { return _fflowid; }
        }
        /// <summary>
        /// 节点名称
        /// </summary>
        public string FNAME
        {
            set { _fname = value; }
            get { return _fname; }
        }
        /// <summary>
        /// 上一节点ID
        /// </summary>
        public string FPREVIOUSNODEID
        {
            set { _fpreviousnodeid = value; }
            get { return _fpreviousnodeid; }
        }
        /// <summary>
        /// 可视化位置坐标信息
        /// </summary>
        public string FPOSITION
        {
            set { _fposition = value; }
            get { return _fposition; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string FREMARK
        {
            set { _fremark = value; }
            get { return _fremark; }
        }
        /// <summary>
        /// 新增时刻
        /// </summary>
        public string FINSERTDATETIME
        {
            set { _finsertdatetime = value; }
            get { return _finsertdatetime; }
        }
        /// <summary>
        /// 是否允许修改（1：是  0：否 default: 0）
        /// </summary>
        public int FALLOWEDIT
        {
            set { _fallowedit = value; }
            get { return _fallowedit; }
        }
        /// <summary>
        /// 是否允许删除（1：是  0：否 default: 0）
        /// </summary>
        public int FALLOWDELETE
        {
            set { _fallowdelete = value; }
            get { return _fallowdelete; }
        }
        /// <summary>
        /// 是否权限流程（1：是 0：否 default: 0）
        /// </summary>
        public int FISRIGHTNODE
        {
            set { _fisrightnode = value; }
            get { return _fisrightnode; }
        }
        #endregion Model
    }
}
